package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//支出明细
@Getter@Setter
public class SpendItem {
    private Long id;
    private String spendClassifyName;//支出分类
    private BigDecimal amountPaid;//支出金额
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date amountTime;//支出时间
    private String amountPersonnel;//支出人
    private String remark;//备注

    /*//支出分类
    private SpendClassify spendClassify;*/
}
